.class Lcom/estrongs/android/pop/app/PopVideoPlayer$j;
.super Ljava/lang/Object;
.source "PopVideoPlayer.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/PopVideoPlayer;->I()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/PopVideoPlayer;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/PopVideoPlayer;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 7

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->m(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Landroid/net/Uri;

    move-result-object p1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0, p1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->a(Landroid/content/Context;Landroid/net/Uri;)Ljava/lang/String;

    move-result-object p1

    const/4 v0, 0x1

    if-nez p1, :cond_0

    return v0

    .line 3
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/l;->K0()Z

    move-result v1

    const/4 v2, 0x0

    if-eqz v1, :cond_1

    .line 4
    invoke-static {p1}, Lcom/estrongs/android/pop/utils/s;->b(Ljava/lang/String;)I

    move-result v1

    sget v3, Lcom/estrongs/android/pop/utils/s;->c:I

    if-ne v1, v3, :cond_1

    const/4 v1, 0x1

    goto :goto_0

    :cond_1
    const/4 v1, 0x0

    :goto_0
    if-eqz v1, :cond_2

    const v3, 0x7f110060

    goto :goto_1

    :cond_2
    const v3, 0x7f11003f

    :goto_1
    if-eqz v1, :cond_3

    .line 5
    iget-object v4, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    const v5, 0x7f110938

    invoke-virtual {v4, v5}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v4

    new-array v5, v0, [Ljava/lang/Object;

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    aput-object v6, v5, v2

    invoke-static {v4, v5}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    goto :goto_2

    .line 6
    :cond_3
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    const v5, 0x7f110b46

    invoke-virtual {v4, v5}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v4

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v4, " "

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 7
    :goto_2
    new-instance v4, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v5, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-direct {v4, v5}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    .line 8
    invoke-virtual {v4, v3}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    .line 9
    invoke-virtual {v4, v2}, Lcom/estrongs/android/ui/dialog/q$n;->a(Ljava/lang/CharSequence;)Lcom/estrongs/android/ui/dialog/q$n;

    const v2, 0x7f1102a2

    new-instance v3, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;

    invoke-direct {v3, p0, p1, v1}, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;-><init>(Lcom/estrongs/android/pop/app/PopVideoPlayer$j;Ljava/lang/String;Z)V

    .line 10
    invoke-virtual {v4, v2, v3}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const p1, 0x7f11029d

    new-instance v1, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$a;-><init>(Lcom/estrongs/android/pop/app/PopVideoPlayer$j;)V

    .line 11
    invoke-virtual {v4, p1, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 12
    invoke-virtual {v4}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->u(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Les/gz;

    move-result-object p1

    invoke-virtual {p1}, Les/gz;->a()V

    return v0
.end method
